Contruction of call multigraphs revisited

نویسنده

  • Arun Lakhotia
چکیده

This paper presents an algorithm for constructing call multigraphs for procedural language programs. The call graph construction (CGC) problem is analogous to the problem of performing control flow analysis (CFA) of Scheme [Shi88, Shi91b]. As shown later, this problem is also analogous to the problem of determining types (TD) at specific program points for object-oriented languages [PS91, PR93, Suz81]. Our CGC algorithm may be easily adapted to perform CFA and TD. The algorithm is significant since the CGC, CFA, and TD problems are of fundamental importance for efficient compilation of programs in procedural, functional, and object-oriented languages, respectively. Pande & Ryder [PR93] have shown that the TD problem is NP-hard in the presence of single-level pointers. We show that the CGC problem is analogous to the TD problem. The CGC problem too is, therefore, intractable. Any polynomial algorithm for it can only give approximate results. The algorithm presented makes the following contributions:

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On restricted edge-connectivity of half-transitive multigraphs

Let G = (V,E) be a multigraph (it has multiple edges, but no loops). We call G maximally edge-connected if λ(G) = δ(G), and G super edge-connected if every minimum edge-cut is a set of edges incident with some vertex. The restricted edgeconnectivity λ′(G) of G is the minimum number of edges whose removal disconnects G into non-trivial components. If λ′(G) achieves the upper bound of restricted ...

متن کامل

Differences in Algorithmic Parallelism in Control Flow and Call Multigraphs

Our parallel hybrid analysis methods facilitate the parallelization of the analysis phase of a software transformation system, by enabling deeper semantic analyses to be accomplished more e ciently than if performed sequentially. Our previous empirical studies pro led these hybrid techniques on the Reaching De nitions problem [LMR91, LR92a, LR92c]. Recently, we have applied our method to the In...

متن کامل

Set Cover Revisited: Hypergraph Cover with Hard Capacities

In this paper, we consider generalizations of classical covering problems to handle hard capacities. In the hard capacitated set cover problem, additionally each set has a covering capacity which we are not allowed to exceed. In other words, after picking a set, we may cover at most a specified number of elements. Based on the classical results by Wolsey, an O(log n) approximation follows for t...

متن کامل

A Linear Algorithm for Edge-Coloring Series-Parallel Multigraphs

Many combinatorial problems can be efficiently solved for series]parallel multigraphs. However, the edge-coloring problem of finding the minimum number of colors required for edge-coloring given graphs is one of a few well-known combinatorial problems for which no efficient algorithms have been obtained for series]parallel multigraphs. This paper gives a linear algorithm for the problem on seri...

متن کامل

Quartic Graphs with Every Edge in a Triangle

We characterise the quartic (i.e. 4-regular) multigraphs with the property that every edge lies in a triangle. The main result is that such graphs are either squares of cycles, line multigraphs of cubic multigraphs, or are obtained from the line multigraphs of cubic multigraphs by a number of simple subgraph-replacement operations. A corollary of this is that a simple quartic graph with every e...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993